<?php
/**
 * SocialEnginePro
 *
 * @category   Application_Extensions
 * @package    tv
 * @author     Azim
 */
/**
 * @category   Application_Extensions
 * @package   tv
 */
?>
<?php if (count($this->categories)): ?>
    <div class="quicklinks">
        <ul class="navigation">
            <?php foreach ($this->categories as $category): ?>
                <li <?php
                if ($category['category_id'] == $this->selectedCategory) {
                    echo 'class="active"';
                }
                ?>>
                <?php echo $this->htmlLink(array('route' => 'tv_extended', 'category_id' => $category['category_id']), $this->translate($category['category_name'].'('.$category->getUsedCount().')'), array('class' => 'buttonlink')) ?>
                </li>
    <?php endforeach; ?>        
        </ul>
    </div>

<?php endif; ?> 
